package pub

import "io"

const (
	_ = iota

	CAPTCHA_CODE_BAIXING = iota
	CAPTCHA_CODE_OPPO    = iota
	CAPTCHA_CODE_SZCREDIT
)

type CaptchaCoder interface {
	//DecodeByMem([]byte) (string, error)
	DecodeByReader(reader io.Reader) (string, error)
	Close()
}

type NewFunc func(args interface{}) (CaptchaCoder, error)
